package cz.czu.pef.DataModelling.domainObjects;

public class IdObjectImpl implements IdObject
{
    private static final long serialVersionUID = 440548310092701923L;

    private Long id; // jednoznacný identifikátor

    public IdObjectImpl()
    {
        super();
    }

    @Override
    public Long getId()
    {
        return id;
    }

    @Override
    public void setId(Long id)
    {
        this.id = id;
    }

    @Override
    public String toString()
    {
        StringBuilder builder = new StringBuilder();
        builder.append("IdObjectImpl [id=");
        builder.append(id);
        builder.append("]");
        return builder.toString();
    }
}
